import java.util.ArrayList;
import java.util.List;

/**
 * @author 35326
 * 2021/3/25 11:02
 * 内部类的使用
 */
public class InnerClass {
final static int j=1;
	int i;
	static int k =2;
	InnerClass1 innerClass1 = this.new InnerClass1();
	InnerClass1 innerClass2=new InnerClass1();
	public class InnerClass1{
		static final int i=2;
		public void run(){
			if(InnerClass.this.i==1){
				;
			}
		}

	}

	public void invite(List<String> list){

	}
	public void test(){
		invite(new ArrayList<String>(){
			private static final long serialVersionUID = 8664821400798935213L;

			{add("aa");add("bb");}});
	}
}
